import request from '@/utils/request'

export default {
  list(query) {
    return request({
      url: '/operLog/list',
      method: 'get',
      params: query
    })
  },
  delOperlog(operId) {
    return request({
      url: `/operLog/${operId}`,
      method: 'delete',
    })
  },
  cleanOperlog() {
    return request({
      url: '/operLog/clean',
      method: 'delete'
    })
  },
}
